<div class="container">
    <legend><?php if( isset($title) ) echo $title; ?></legend>
    <p><?php if( isset($message) ) echo $message; ?></p>
</div>